package com.ly.heart.activiti.pojo.node;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Title: FormProperty
 * @description：表单字段属性
 */
@ApiModel(value = "表单字段属性", description = "表单字段属性")
@Data
public class FormProperty {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("字段名称")
    private String name;

    @ApiModelProperty("是否只读")
    private Boolean readonly = false;

    @ApiModelProperty("是否隐藏")
    private boolean hidden;

    @ApiModelProperty("是否必填")
    private boolean required;
}
